package com.usian.service.impl;

import com.usian.mapper.TbItemMapper;
import com.usian.service.UsianService;
import org.springframework.beans.factory.annotation.Autowired;
import com.usian.pojo.TbItem;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

@Service
@Transactional
public class UsianServiceImpl implements UsianService {
    @Autowired
    private TbItemMapper tbItemMapper;

    @Override
    public TbItem findByid(Long id) {
        return tbItemMapper.selectByPrimaryKey(id);
    }
}
